Skip to content

Conversation

@TTtie
Copy link
Contributor

@TTtie TTtie commented Jul 21, 2025

This PR allows modern Minecraft servers to include additional match data in the ping response by splitting off extra ping data attachments into a ExtraPingDataRequestEvent that individual platforms can call with their own implementation that can be appropriately handled afterwards.

On SP, this is handled as usual. On modern Minecraft, this is implemented using a ProtocolLib hook (though I'm not sure if there's a better way to do this).

Also - is checking for "legacy SportPaper" still relevant?

@TTtie TTtie force-pushed the feat/modern-server-ping branch from e325579 to c5b82d2 Compare July 22, 2025 13:48
@TTtie TTtie moved this to Nice to have in PGM on 1.2x.x Jul 22, 2025
@TTtie TTtie moved this from Nice to have to In Progress in PGM on 1.2x.x Jul 24, 2025
This patch allows modern Minecraft servers to include additional match data in the ping response by splitting off extra ping data attachments into a ExtraPingDataRequestEvent that individual platforms can call with their own implementation that can be appropriately handled afterwards.

On SP, this is handled as usual. On modern Minecraft, this is implemented using a ProtocolLib hook.

Signed-off-by: TTtie <[email protected]>
@TTtie TTtie force-pushed the feat/modern-server-ping branch from c5b82d2 to ffed59b Compare September 20, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant